;;; Require
(use-package company
  :ensure
  :custom
  (company-idle-delay 0.0)
  (company-minimum-prefix-length 1)
  :bind
  (:map company-active-map
              ("C-n" . company-select-next)
              ("C-p" . company-select-previous)
              ("M-<" . company-select-first)
              ("M->" . company-select-last))
  (:map company-mode-map
        ("<C-return>" . company-indent-or-complete-common)))

;; (use-package company-box
;;   :ensure t
;;   :hook (company-mode . company-box-mode)
;;   :custom
;;   (company-box-icons-alist 'company-box-icons-all-the-icons))

(global-company-mode)
(provide 'init_company)
